import request from "./request";

export default{
    submitSettlement(data) {
        return request({ url: '/admin/settlement/submit', method: 'post', data });
    },
    getOrderData(data) {
        return request({ url: "/admin/settlement/getOrderData", method: "get", data });
    },
    getOrderDetails(orderId) {
        return request({ url: `/admin/settlement/getOrderDetails?orderId=${orderId}`, method: "get" });
    },
    deleteOrder(orderId) {
        return request({ url: `/admin/settlement/deleteOrder?orderId=${orderId}`, method: "get" });
    }
};